//
//  UploadRequstTaskTool.h
//  NLProjectFrameworkDemo
//
//  Created by 陈志亮 on 2019/6/25.
//  Copyright © 2019 yj_zhang. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UIImage+NLImageSize.h"
#import "MantisRequestManager.h"


NS_ASSUME_NONNULL_BEGIN

@interface UploadRequstTaskTool : NSObject
////上传任务
+(NSURLSessionDataTask *)uploadWithPictures:(UIImage *)image andMethod:(NSString *)method params:(NSDictionary *)params andDomainName:(NSString *)domainName onProgressBlock:(void(^)(NSProgress *uploadProgress))progressBlock onSuccessBlock:(NetworkSuccessBlock)successBlock onFailBlock:(NetworkFailureBlock)failBlock;




@end

NS_ASSUME_NONNULL_END
